{extend name='public/layout' /}
{block name='content'}
<div class="main m_t_15">
    <div class="position"><p>您当前的位置：<a href="{:url('Index/index')}" title="{$site.title}">{$site.title}</a> &gt; <a
            href="{:url('Loupan/index')}">新房</a> &gt; <a href="{:url('Loupan/detail',['id'=>$info['id']])}" title="{$info.title}">{$info.title}</a> &gt; 楼盘相册</p></div>
    <div class="m_t_15 overflow_h">
        <div class="n_h_n3_l">
            <div class="n_h_n3_t">
                {include file='loupan/nav' /}
            </div>

            <div class="clearfix" style="padding:15px 0;">
                <div class="nav_cate">
                    <ul>
                        <li><a {empty name='cate_id'}class="selected"{/empty} href="{:url('Loupan/pic',['house_id'=>$info['id']])}" >全部({$count.total})</a></li>
                        {volist name='picCate' id='vo'}
                        <li><a {if condition="$cate_id eq $vo['id']"}class="selected"{/if} href="{:url('Loupan/pic',['house_id'=>$info['id'],'cate'=>$vo['id']])}" >{$vo.name}({$count['cate_'.$vo['id']]})</a></li>
                        {/volist}
                    </ul>
                </div>
                <div class="pic_d_s">
                    <ul class="clearfix" id="pic_list">
                        {fang:lists table='house_pic' field='title,img' where='$where' limit='20' page='true' id='data'}
                        <li>
                            <a href="{$data.img}" title="{$data.title}"  rel="prettyPhoto[]">
                                <img src="__IMG__/nopic.jpg" data-original="{$data.img}" class="lazy" width="200" height="150">
                                <p>{$data.title}</p>
                            </a>
                        </li>
                        {/fang:lists}
                        </ul>
                    <div class="plastic_bottom_pages">{$pages}</div>
                </div>

            </div>

        </div>
        <div class="house_r">
            <div class="title01">推荐楼盘</div>
            <div class="n_h_s_right">
                {include file='loupan/right' /}
            </div>
        </div>
    </div>



</div>
<link type="text/css" href="__PUBLIC__/js/photo/css/prettyPhoto.css" rel="stylesheet" />
<script type="text/javascript" src="__PUBLIC__/js/photo/jquery.prettyPhoto.js"></script>
<script type="text/javascript">
    $(document).ready(function(){
        $("#pic_list:first a[rel^='prettyPhoto']").prettyPhoto({animation_speed:'fast',slideshow:10000, hideflash: true});
    })
</script>
{/block}